package com.taxi.management.service;

import com.taxi.management.entity.DriverEntity;

import java.util.List;

public interface DriverService {
    List<DriverEntity> getAllDriver();
    DriverEntity getDriverById(int id);
    int addDriver(DriverEntity driver);
    int updateDriver(DriverEntity driver);
    int deleteDriver(int id);
    List<DriverEntity> getDriverByPage(String username, int start, int limit);
}
